package at.horario.service.impl;

import at.horario.dao.ProfessorDao;
import at.horario.model.Horario;
import at.horario.model.Professor;
import at.horario.service.ProfessorManager;

public class ProfessorManagerImpl extends GenericManagerImpl<Professor, Long> implements ProfessorManager {
    private ProfessorDao professorDao;

    public ProfessorManagerImpl(final ProfessorDao professorDao) {
        super(professorDao);
        this.professorDao = professorDao;
    }

    public Professor findBy(Horario horario, int professor) {
        return professorDao.findBy(horario, professor);
    }
}